body {
    // background-color: aqua;
    display: flex;
    flex-direction: column;

    header {
        padding: 0 10px;
        width: 100%;
        background-color: #fff;
        height: 50px;
        line-height: 50px;

        // position: fixed;
        // z-index: 999;
        .iconfont {
            color: #000;
            font-size: 22px;
            font-weight: bold;
        }

        .icon-share {
            position: absolute;
            right: 10px;
        }

        .title {
            color: #000;
            font-size: 22px;
            position: absolute;
            left: 50%;
            top: 0;
            transform: translateX(-50%);
        }
    }

    .banner {
        padding: 0 10px;

        .swiper {
            img {
                width: 100%;
                border-radius: 10px;
            }

            width: 100%;
            height:180px;
        }
    }

    main {
        height: 1px;
        flex-grow: 1;
        overflow-y: auto;
        background-color: #f4f4f4;

        .ads {
            display: flex;
            justify-content: space-evenly;
            align-items: flex-end;
            margin-bottom: 20px;
            padding: 0 20px;
            height: 100px;
            background: linear-gradient(#93d3ff, #f4f4f4);

            p {
                color: #7b8896;
                font-size: 14px;
            }

        }

        .type {
            display: flex;
            flex-wrap: wrap;
            background-color: #fff;
            border-radius: 10px;
            margin: 0 10px;
            padding: 10px;
            margin-bottom: 10px;

            li {
                width: 25%;

                // height: 50px;
                a {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    color: #000;
                    font-weight: bold;

                    img {
                        width: 40px;
                        height: 40px;
                        margin-bottom: 10px;
                    }

                    p {
                        margin-bottom: 10px;
                    }
                }
            }
        }

        .hot {

            background-color: #fff;
            border-radius: 10px;
            margin: 0 10px;
            padding: 10px;
            margin-bottom: 10px;

            .top {
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin-bottom: 10px;
            }

            .title {
                font-weight: bold;
                font-size: 18px;
            }

            .more {
                color: #b4b5b6;
            }

            ul {
                display: flex;
                align-items: flex-end;

                li {
                    width: 32%;

                    a {
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;

                        img {
                            width: 100%;
                            margin-bottom: 10px;
                        }

                        p {
                            font-weight: bold;
                            margin-bottom: 5px;
                        }

                        span {
                            padding: 4px;
                            border-radius: 2px;
                        }
                    }
                }

                li.refrigerator a {
                    color: #d39544;

                    span {
                        color: #fff6e5;
                        background-color: #f2a918;
                    }
                }

                li.washer a {
                    color: #f82604;

                    span {
                        color: #ffebe8;
                        background-color: #f82400;
                    }
                }

                li.heating a {
                    color: #3cb6fa;

                    span {
                        color: #e0f4ff;
                        background-color: #38b5fa;
                    }
                }
            }
        }

        .intelligent {
            padding: 10px;

            .title {
                font-size: 22px;
                font-weight: bold;
                margin-bottom: 20px;
            }

            ul {
                display: flex;
                width: 100%;
                justify-content: space-between;

                li {
                    background-color: #fff;
                    width: 24%;
                    border-radius: 10px;

                    a {
                        display: flex;
                        flex-direction: column;
                        justify-content: center;
                        align-items: center;
                        position: relative;

                        img {
                            width: 40px;
                            height: 50px;
                        }

                        span {
                            color: #fff;
                            background-color: #7256f7;
                            padding: 3px;
                            border-radius: 10px;
                            position: absolute;
                            top: 50%;
                        }

                        div {
                            font-size: 12px;
                            background-color: #ffdab2;
                            color: #e89349;
                            height: 50px;
                            width: 100%;
                            text-align: center;
                            line-height: 70px;
                            border-radius: 0 0 10px 10px;
                        }
                    }
                }
            }
        }

        .goods {
            margin: 0 10px;
            padding: 10px;
            background-color: #fff;
            border-radius: 10px;
            margin-bottom: 10px;

            p {
                font-size: 18px;
                font-weight: bold;
            }

            ul {
                display: flex;
                flex-wrap: wrap;

                li {
                    width: 49%;

                    a {
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;

                        img {
                            width: 100%;
                        }

                        p {
                            color: #000;
                            font-size: 18px;
                            margin-bottom: 5px;
                        }

                        span {
                            color: #b2b2b2;
                            font-size: 14px;
                        }
                    }
                }
            }
        }

        .likes {
            margin: 0 10px;
            padding: 10px;

            .title {
                font-size: 18px;
                font-weight: bold;
                margin-bottom: 20px;
            }

            .link {
                margin: 30px 0;
                white-space: nowrap;
                // width: 100%;
                overflow-x: auto;

                &::-webkit-scrollbar {
                    display: none;
                }

                a {
                    font-size: 18px;
                    margin-right: 20px;
                    color: #999;
                    font-weight: bold;
                }

                a.active {
                    color: #4470ae;
                }
            }
        }
        .commodity{
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-between;
            margin: 0 10px;
            li{
                width: 48%;
                background-color: #fff;
                border-radius: 20px;
                margin-bottom: 15px;
                a{
                    // 
                    img{
                        width: 100%;
                        border-radius: 20px 20px 0 0 ;
                    }
                    .title{
                        margin-top: 10px;
                        color: #000;
                        margin-left: 5px;
                        margin-bottom: 8px;
                    }
                    .vip{
                        background-color: #224374;
                        color: #fedcca;
                        font-size: 12px;
                        padding: 2px 5px;
                        border-radius: 3px;
                        margin-left: 5px;
                    }
                    .discount{
                        color: #957766;
                        background-color: #fedcca;
                        font-size: 12px;
                        padding: 2px 5px;
                        border-radius: 3px;
                        font-weight: bold;
                    }
                    .free{
                        color: #6ba2d4;
                        border-radius: 3px;
                        padding: 2px 5px;
                        border: 1px solid #6ba2d4;
                        font-weight: bold;
                        font-size: 12px;
                    }
                    .price{
                        font-size: 12px;
                        color: #000;
                        margin-top: 8px;
                        margin-bottom: 15px;
                        .num{
                            font-size: 16px;
                        }
                    }
                    .vip-free{
                        font-size: 12px;
                        padding: 2px 5px;
                        border-radius: 3px;
                        background-color: red;
                        color: #fff;
                        margin-left: 5px;
                    }
                    .self-operated{
                        background-color: #ff7a00;
                        color: #fff;
                        padding: 2px 5px;
                        border-radius: 3px;
                        font-size: 12px;
                    }
                    .interest-free{
                        color: #6ba2d4;
                        border-radius: 3px;
                        padding: 2px 5px;
                        border: 1px solid #6ba2d4;
                        font-weight: bold;
                        font-size: 12px;
                    }
                    .kill{
                        font-size: 12px;
                        padding: 2px 5px;
                        border-radius: 3px;
                        background-color: red;
                        color: #fff;
                    }
                }

            }
        }
    }

    footer {
        display: flex;
        justify-content: space-around;
        height: 60px;

        a {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #a7a7a7;

            .iconfont {
                font-size: 36px;
                color: blue;
            }
        }
    }
}